package com.ymtms.customerservice.dao;


import com.ymtms.customerservice.pojo.CallbackInformation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CallbackInformationMapper {
    int deleteByPrimaryKey(Integer cbiid);

    int insert(CallbackInformation record);

    int insertSelective(CallbackInformation record);

    CallbackInformation selectByPrimaryKey(Integer cbiid);

    int updateByPrimaryKeySelective(CallbackInformation record);

    int updateByPrimaryKey(CallbackInformation record);

    List<CallbackInformation> selectCallbackHistory(
            @Param("callback") CallbackInformation callbackInformation,
            @Param("startTime") String startTime, @Param("endTime") String endTime);

    int deleteHistory(Integer cbiid);
}